﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Main.aspx.cs" Inherits="StoneAge.WebUI.Main" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>石器时代网页版</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <link rel="shortcut icon" type="image/ico" href="../images/favicon.ico" />
    <link rel="Stylesheet" type="text/css" href="css/main.css" />
    <script type="text/javascript" src="lib/js/jQuery.js"></script>
    <script type="text/javascript">
        $(function () {
            Wind.logger.level = Wind.Logging.Level.OFF;

            seajs.config({
                base: '/js/'
            });

            var canvas = document.createElement('canvas');
            if (null == canvas.getContext) {
                $('#tip').show();
                return;
            }

            var script = document.createElement('script');
            script.setAttribute('src', 'lib/js/kinetic.js');
            document.body.appendChild(script);

            seajs.use(['util/canvas', 'util/imageStorage', 'login'], function (Canvas, ImageStorage, Login) {
                Canvas.initialize(ImageStorage);
                Login.loadAsync().start();
            });
        });
    </script>
</head>
<body style="margin: 0 auto; padding: 0;">
    <div id="container">
    </div>
    <div id="tip" style="display: none">
        您的浏览器不支持HTML5的Canvas,请采用以下浏览器： <a href="http://www.google.com/chrome">Chrome(推荐)</a>
    </div>
</body>
</html>
<script type="text/javascript" src="lib/js/jquery.form.js"></script>
<script type="text/javascript" src="lib/js/seajs/sea.js"></script>
<script type="text/javascript" src="lib/js/wind.js"></script>
<script type="text/javascript" src="lib/js/jquery.json.js"></script>
